import mitt from "mitt"

const emitter = mitt();
// listen to all events
emitter.on("*", (type, e) => console.log(type, e))
// clearing all events
emitter.all.clear()
export {
  emitter
}
